package com.imeth.base.model;

import java.util.Collection;

/**
 * Created by PETER on 2015/12/26.
 */
public class Results<T> extends Result<Collection<T>> {

    private Paging paging;

    public Paging getPaging() {
        return paging;
    }

    public void setPaging(Paging paging) {
        this.paging = paging;
    }

    public Results(int status, String message, Collection<T> result, Paging paging) {
        super(status, message, result);
        this.paging = paging;
    }

    public Results() {
        setStatus(200);
    }
}
